package com.zero.mapper;

import com.zero.entity.FamilyMoney;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface FamilyMoneyMapper {

    int add(FamilyMoney familyMoney);

    int delete(int id);

    int update(FamilyMoney familyMoney);

    List<FamilyMoney> select(Map map);

    List<FamilyMoney> selectByParam(FamilyMoney familyMoney);

    FamilyMoney selectById(int id);
}
